#ifndef __MARIO_H__
#define __MARIO_H__


#define MARIO_SMALL_W 30
#define MARIO_SMALL_H 35
#define MARIO_BIG_W 40
#define MARIO_BIG_H 60

#define MARIO_NORMAL_SPEED	0.3
#define MARIO_HIGH_SPEED	0.6

#include "GEnemy.h"
#include "Infomation.h"



class Mario:public CEnemy
{
	static LPDIRECT3DTEXTURE9 _marioImage;
public:
	bool			_isSuper;
	int				_level;
	bool			_justChangeLevel;
	static void InitResoure(){_marioImage=CSprites::LoadTexture("Images\\Mario.png",0);}
	Mario(void)
	{
		_pRECT=new RECT();
		_pSprite=NULL;
	}
	Mario(int level, int left,int top, CScreen *scr,QuadTree *q,SOUND *sManager);
	~Mario(void);
	void Set_Up(bool up){isUp=up;}
	int Move();
	void ChangeDirectory(bool IsJump);
	void ObjGetColliton(int kindColltion);
	void Collision(Object *Ob);
	void Draw();
	void Jump();
	void Die();
	void Release(){}

};

#endif